<template>
    <div class="about">
        <button @click="goHome">跳转到home</button>
        <h1>This is an about page</h1>
    </div>
</template>

<script setup>
import { useRouter } from 'vue-router'

const router = useRouter()


const goHome = () => {
    router.go(-1)
}
</script>

<style>
/* @media (min-width: 1024px) {
    .about {
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
} */
</style>
